    <? 
	$faculty=$_GET['country'];
    $link = mysql_connect("mysql.codefactorycr.com","a83527","patito4" );
    if (!$link) {
      die('Could not connect: ' . mysql_error());
    }
	mysql_select_db('a83527');
    $query="SELECT id,nombre FROM UA WHERE facultad='$faculty';";
    $result=mysql_query($query);
	?>
	
    <select id="UnidadAcademica" name="UnidadAcademica">
    <? while($row=mysql_fetch_array($result)) { ?>
      <option value=<?php ECHO $row[0] ?>> <?php ECHO $row[1] ?> </option>
    <? } ?>
    </select>